package com.rdxer.repository;

import com.rdxer.model.Clazz;
import com.rdxer.model.Course;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;


public interface CourseRepository extends JpaRepository<Course,String>,JpaSpecificationExecutor<Course>{

    List<Course> findAllByClazzId(String clazzId);
}
